package com.example.demo.service.serviceImpl;

import com.example.demo.bean.BomDO;
import com.example.demo.dao.BomMapper;
import com.example.demo.service.BomService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class BomServiceImpl implements BomService {

    // 将DAO注入Service层
    @Autowired
    private BomMapper bomMapper;

    @Override
    public List<BomDO> getInfo(String muJianBianMa, String ziJianBianMa) {
        return bomMapper.getInfo(muJianBianMa, ziJianBianMa);
    }
}
